package com.artpri.dao.impl;

import com.artpri.dao.CategoryJoinGroupDao;
import com.artpri.model.CategoryJoinGroup;

public class CategoryJoinGroupDaoImpl extends HibernateDaoImpl<CategoryJoinGroup> implements CategoryJoinGroupDao{

	@Override
	public CategoryJoinGroup getGroupByCategroy(int gcId) {
		return (CategoryJoinGroup) getQuery("from CategoryJoinGroup c where c.gcId=?0", gcId).uniqueResult();
	}

}
